package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author
 */
public class User implements Serializable {
    private String uno;

    private String uname;

    private String uimg;

    private String usex;

    private String uage;

    private String uheight;

    private String uweight;

    private String upwd;

    private String uemail;

    private String uaddress;

    private String ustate;

    private String udesc;

    private static final long serialVersionUID = 1L;

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUimg() {
        return uimg;
    }

    public void setUimg(String uimg) {
        this.uimg = uimg;
    }

    public String getUsex() {
        return usex;
    }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public String getUage() {
        return uage;
    }

    public void setUage(String uage) {
        this.uage = uage;
    }

    public String getUheight() {
        return uheight;
    }

    public void setUheight(String uheight) {
        this.uheight = uheight;
    }

    public String getUweight() {
        return uweight;
    }

    public void setUweight(String uweight) {
        this.uweight = uweight;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public String getUaddress() {
        return uaddress;
    }

    public void setUaddress(String uaddress) {
        this.uaddress = uaddress;
    }

    public String getUstate() {
        return ustate;
    }

    public void setUstate(String ustate) {
        this.ustate = ustate;
    }

    public String getUdesc() {
        return udesc;
    }

    public void setUdesc(String udesc) {
        this.udesc = udesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        User other = (User) that;
        return (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
                && (this.getUname() == null ? other.getUname() == null : this.getUname().equals(other.getUname()))
                && (this.getUimg() == null ? other.getUimg() == null : this.getUimg().equals(other.getUimg()))
                && (this.getUsex() == null ? other.getUsex() == null : this.getUsex().equals(other.getUsex()))
                && (this.getUage() == null ? other.getUage() == null : this.getUage().equals(other.getUage()))
                && (this.getUheight() == null ? other.getUheight() == null : this.getUheight().equals(other.getUheight()))
                && (this.getUweight() == null ? other.getUweight() == null : this.getUweight().equals(other.getUweight()))
                && (this.getUpwd() == null ? other.getUpwd() == null : this.getUpwd().equals(other.getUpwd()))
                && (this.getUemail() == null ? other.getUemail() == null : this.getUemail().equals(other.getUemail()))
                && (this.getUaddress() == null ? other.getUaddress() == null : this.getUaddress().equals(other.getUaddress()))
                && (this.getUstate() == null ? other.getUstate() == null : this.getUstate().equals(other.getUstate()))
                && (this.getUdesc() == null ? other.getUdesc() == null : this.getUdesc().equals(other.getUdesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getUname() == null) ? 0 : getUname().hashCode());
        result = prime * result + ((getUimg() == null) ? 0 : getUimg().hashCode());
        result = prime * result + ((getUsex() == null) ? 0 : getUsex().hashCode());
        result = prime * result + ((getUage() == null) ? 0 : getUage().hashCode());
        result = prime * result + ((getUheight() == null) ? 0 : getUheight().hashCode());
        result = prime * result + ((getUweight() == null) ? 0 : getUweight().hashCode());
        result = prime * result + ((getUpwd() == null) ? 0 : getUpwd().hashCode());
        result = prime * result + ((getUemail() == null) ? 0 : getUemail().hashCode());
        result = prime * result + ((getUaddress() == null) ? 0 : getUaddress().hashCode());
        result = prime * result + ((getUstate() == null) ? 0 : getUstate().hashCode());
        result = prime * result + ((getUdesc() == null) ? 0 : getUdesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uno=").append(uno);
        sb.append(", uname=").append(uname);
        sb.append(", uimg=").append(uimg);
        sb.append(", usex=").append(usex);
        sb.append(", uage=").append(uage);
        sb.append(", uheight=").append(uheight);
        sb.append(", uweight=").append(uweight);
        sb.append(", upwd=").append(upwd);
        sb.append(", uemail=").append(uemail);
        sb.append(", uaddress=").append(uaddress);
        sb.append(", ustate=").append(ustate);
        sb.append(", udesc=").append(udesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}